package com.zg.autoflow.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
* @author zg
*/
@Data
@ApiModel(value = "表单信息", description = "表单信息")
public class AutoflowStepFormAddSubReq {


    /**
     * 环节id
     */
    @NotNull(message = "表单id不能为空")
    @ApiModelProperty(value = "表单id")
    private Long formId;

    /**
     * 环节id
     */
    @NotNull(message = "视图id不能为空")
    @ApiModelProperty(value = "视图id")
    private Long viewId;
}
